<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>待派发工单</title>
</head>
<body>
    <div th:fragment="main" id="dispatch" class="dispatch">
        <link rel="stylesheet" th:href="@{/assets/jqGrid/css/jqgridReset.css}">
        <link rel="stylesheet" th:href="@{/css/assignmentGroup/dispatch.css}">
        <div class="dispatch_content">
            <div class="title">
                <ol class="breadcrumb title-content">
                    <li><a href="#qualitycontrol-assignmentGroup-dispatch">任务管理</a></li>
                    <li>待派发工单</li>
                </ol>
            </div>
            <!-- 表单组 -->
            <div class="queryForm">
                <form action="" class="query_form" id="query_form">
                    <div class="queryTable">
                        <table>
                            <tbody>
                            <tr>
                                <td class="condition_title">
                                    <span>产品线</span><i>&nbsp;:</i>
                                </td>
                                <td class="condition_content">
                                    <select name="productLineId" class="form-control" id="productLineId">
                                        <!-- 产品线 -->
                                    </select>
                                </td>
                                <td class="condition_title">
                                    <span>项目名称</span><i>&nbsp;:</i>
                                </td>
                                <td class="condition_content">
                                    <input name="projectName" type="text" class="form-control" id="projectName" placeholder="请输入项目名称">
                                </td>
                                <td class="condition_title">
                                    <span>施工单位</span><i>&nbsp;:</i>
                                </td>
                                <td class="condition_content">
                                    <input name="constructionTeamName" type="text" class="form-control" id="constructionTeamName" placeholder="请输入施工单位名称">
                                </td>
                                <td class="condition_button" rowspan="2">
                                    <div class="condition_buttons clearfix">
                                        <input type="button" value="导出" class="btn pull-right export " id="export" style="display:none;">
                                        <input type="button" value="批量派发" class="btn pull-right export distribute" id="dispatchButton">
                                        <input type="button" value="查询" class="btn pull-right query" id="query">
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="condition_title">
                                    <span>设备编号</span><i>&nbsp;:</i>
                                </td>
                                <td class="condition_content">
                                    <input name="deviceId" type="text" class="form-control" id="deviceName" placeholder="请输入设备编号">
                                </td>
                                <td class="condition_title">
                                    <span>设备类型</span><i>&nbsp;:</i>
                                </td>
                                <td class="condition_content">
                                    <select name="deviceTypeId" class="form-control" id="deviceTypeId">
                                        <!-- 设备类型 -->
                                    </select>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    </div>
                </form>
            </div>
            <!-- 数据表格 -->
            <div class="dispatch-table" id="dispatch-table">
                <table id="dispatchList"></table>
                <div id="gridpager"></div>
            </div>
        </div>
        <script th:src="@{/js/assignmentGrop/dispatch.js}"></script>
        <script>
            $(document).ready(function(){
                pageInit();
            });
        </script>
    </div>
</body>
</html>